//
//  BMSOnlineSessionManager.h
//  WDBMS
//
//  Created by YeJary on 2025/5/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BMSOnlineSessionManager : NSObject

@property (nonatomic, assign, readonly) NSTimeInterval totalOnlineSeconds;

+ (instancetype)shared;

- (void)startTracking;

- (void)stopTracking;

/// 每分钟定时检查是否触发实名等策略
@property (nonatomic, copy, nullable) void(^onTickCheck)(NSTimeInterval totalSeconds);

@end

NS_ASSUME_NONNULL_END
